/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package fxbattle.client.model;

import java.awt.Color;

/**
 *
 * @author spina
 */
public class Player {

    public static Player no_player = new Player("unoccupied", Color.GRAY);

    public static Player getPlayer(String iName, Color iColor){
        return new Player(iName, iColor);
    }

    private final String fName;
    private final Color fColor;

    private Player(String iPlayerName, Color iColor){
        fName = iPlayerName;
        fColor = iColor;
    }

    public Color getColor(){
        return fColor;
    }

    public String getName(){
        return fName;
    }

}
